
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>1.5.2 客户端核心SDK功能 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../1.5.3 用户/" />
    
    
    <link rel="prev" href="../1.5.1 软件特性/" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../../1.1 产品介绍/">
            
                <a href="../../1.1 产品介绍/">
            
                    
                    1.1 产品介绍
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../../1.1 产品介绍/1.1.1 商用社交版/">
            
                <a href="../../1.1 产品介绍/1.1.1 商用社交版/">
            
                    
                    1.1.1 商用社交版
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../../1.1 产品介绍/1.1.2 商用客服版/">
            
                <a href="../../1.1 产品介绍/1.1.2 商用客服版/">
            
                    
                    1.1.2 商用客服版
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../../1.1 产品介绍/1.1.3 社交版开发指南/">
            
                <a href="../../1.1 产品介绍/1.1.3 社交版开发指南/">
            
                    
                    1.1.3 社交版开发指南
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../../1.2 试用与部署/">
            
                <a href="../../1.2 试用与部署/">
            
                    
                    1.2 试用与部署
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../../1.2 试用与部署/1.2.1 社区版编译部署/">
            
                <a href="../../1.2 试用与部署/1.2.1 社区版编译部署/">
            
                    
                    1.2.1 社区版编译部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../../1.2 试用与部署/1.2.2 社区版镜像部署/">
            
                <a href="../../1.2 试用与部署/1.2.2 社区版镜像部署/">
            
                    
                    1.2.2 社区版镜像部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../../1.2 试用与部署/1.2.3 专业版镜像部署/">
            
                <a href="../../1.2 试用与部署/1.2.3 专业版镜像部署/">
            
                    
                    1.2.3 专业版镜像部署
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../../1.3 编译工程/">
            
                <a href="../../1.3 编译工程/">
            
                    
                    1.3 编译工程
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../../1.3 编译工程/1.3.1 编译社区版后端源码/">
            
                <a href="../../1.3 编译工程/1.3.1 编译社区版后端源码/">
            
                    
                    1.3.1 编译社区版后端源码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../../1.3 编译工程/1.3.2 编译Web客户端源码/">
            
                <a href="../../1.3 编译工程/1.3.2 编译Web客户端源码/">
            
                    
                    1.3.2 编译Web客户端源码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../../1.3 编译工程/1.3.3 编译移动客户端源码/">
            
                <a href="../../1.3 编译工程/1.3.3 编译移动客户端源码/">
            
                    
                    1.3.3 编译移动客户端源码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../../1.3 编译工程/1.3.4 编译微信小程序源码/">
            
                <a href="../../1.3 编译工程/1.3.4 编译微信小程序源码/">
            
                    
                    1.3.4 编译微信小程序源码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../../1.3 编译工程/1.3.5 编译E聊SDK源码/">
            
                <a href="../../1.3 编译工程/1.3.5 编译E聊SDK源码/">
            
                    
                    1.3.5 编译E聊SDK源码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../../1.4 系统架构/">
            
                <a href="../../1.4 系统架构/">
            
                    
                    1.4 系统架构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../">
            
                <a href="../">
            
                    
                    1.5 基础知识
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../1.5.1 软件特性/">
            
                <a href="../1.5.1 软件特性/">
            
                    
                    1.5.1 软件特性
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.6.2" data-path="./">
            
                <a href="./">
            
                    
                    1.5.2 客户端核心SDK功能
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../1.5.3 用户/">
            
                <a href="../1.5.3 用户/">
            
                    
                    1.5.3 用户
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../1.5.4 连接/">
            
                <a href="../1.5.4 连接/">
            
                    
                    1.5.4 连接
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../1.5.5 会话/">
            
                <a href="../1.5.5 会话/">
            
                    
                    1.5.5 会话
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../1.5.6 消息/">
            
                <a href="../1.5.6 消息/">
            
                    
                    1.5.6 消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../1.5.7 消息载体/">
            
                <a href="../1.5.7 消息载体/">
            
                    
                    1.5.7 消息载体
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="../1.5.8 文件上传功能/">
            
                <a href="../1.5.8 文件上传功能/">
            
                    
                    1.5.8 文件上传功能
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="../1.5.9 离线消息/">
            
                <a href="../1.5.9 离线消息/">
            
                    
                    1.5.9 离线消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10" data-path="../1.5.10 群组/">
            
                <a href="../1.5.10 群组/">
            
                    
                    1.5.10 群组
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.11" data-path="../1.5.11 自定义消息/">
            
                <a href="../1.5.11 自定义消息/">
            
                    
                    1.5.11 自定义消息
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../../1.6 服务端知识/">
            
                <a href="../../1.6 服务端知识/">
            
                    
                    1.6 服务端知识
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../../1.6 服务端知识/1.6.1 服务器端口说明/">
            
                <a href="../../1.6 服务端知识/1.6.1 服务器端口说明/">
            
                    
                    1.6.1 服务器端口说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../../1.6 服务端知识/1.6.2 数据库配置/">
            
                <a href="../../1.6 服务端知识/1.6.2 数据库配置/">
            
                    
                    1.6.2 数据库配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../../1.6 服务端知识/1.6.3 机器内存的选择/">
            
                <a href="../../1.6 服务端知识/1.6.3 机器内存的选择/">
            
                    
                    1.6.3 机器内存的选择
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../../1.6 服务端知识/1.6.4 性能测试/">
            
                <a href="../../1.6 服务端知识/1.6.4 性能测试/">
            
                    
                    1.6.4 性能测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="../../1.6 服务端知识/1.6.5 服务器配置/">
            
                <a href="../../1.6 服务端知识/1.6.5 服务器配置/">
            
                    
                    1.6.5 服务器配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="../../1.6 服务端知识/1.6.6 Server API/">
            
                <a href="../../1.6 服务端知识/1.6.6 Server API/">
            
                    
                    1.6.6 Server API
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../../1.7 源码导读/">
            
                <a href="../../1.7 源码导读/">
            
                    
                    1.7 源码导读
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../../1.7 源码导读/1.7.1 客户端核心SDK/">
            
                <a href="../../1.7 源码导读/1.7.1 客户端核心SDK/">
            
                    
                    1.7.1 客户端核心SDK
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../../1.7 源码导读/1.7.2 社区版服务端/">
            
                <a href="../../1.7 源码导读/1.7.2 社区版服务端/">
            
                    
                    1.7.2 社区版服务端
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../../1.7 源码导读/1.7.3 使用Web版SDK/">
            
                <a href="../../1.7 源码导读/1.7.3 使用Web版SDK/">
            
                    
                    1.7.3 使用Web版SDK
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../../1.10 code错误码/">
            
                <a href="../../1.10 code错误码/">
            
                    
                    1.10 code错误码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../../1.11 技术支持/">
            
                <a href="../../1.11 技术支持/">
            
                    
                    1.11 技术支持
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../../1.12 管理后台/">
            
                <a href="../../1.12 管理后台/">
            
                    
                    1.12 管理后台
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../../1.13 常见问题/">
            
                <a href="../../1.13 常见问题/">
            
                    
                    1.13 常见问题
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >1.5.2 客户端核心SDK功能</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="152-&#x5BA2;&#x6237;&#x7AEF;&#x6838;&#x5FC3;sdk&#x529F;&#x80FD;">1.5.2 &#x5BA2;&#x6237;&#x7AEF;&#x6838;&#x5FC3;SDK&#x529F;&#x80FD;</h1>
<h3 id="&#x8BF4;&#x660E;">&#x8BF4;&#x660E;</h3>
<p>echatim-client-ts-core &#x4E0E; echatim-client-cpp-core&#x867D;&#x7136;&#x5B9E;&#x73B0;&#x8BED;&#x8A00;&#x4E0D;&#x4E00;&#x6837;&#xFF0C;&#x4F46;&#x7A0B;&#x5E8F;&#x67B6;&#x6784;&#x67B6;&#x6784;&#x4E0E;&#x5B9E;&#x73B0;&#x903B;&#x8F91;&#x662F;&#x4E00;&#x81F4;&#x7684;&#x3002;&#x4F7F;&#x7528;echatim-client-ts-core &#x4E0E;echatim-client-cpp-core &#x4F5C;&#x4E3A;sdk&#x65F6;&#x53EF;&#x4EE5;&#x5B9E;&#x73B0;&#x65E0;&#x7F1D;&#x5207;&#x6362;&#x3002;</p>
<p>&#x57FA;&#x7840;&#x529F;&#x80FD;: </p>
<ul>
<li>http api&#x8FDE;&#x63A5;, socket.io api &#x8FDE;&#x63A5;;</li>
<li>socket.io &#x8FDE;&#x63A5;/&#x65AD;&#x5F00;&#x8FDE;&#x63A5;, &#x8FDE;&#x63A5;&#x72B6;&#x6001;&#x56DE;&#x8C03;;</li>
<li>&#x53D1;&#x9001;&#x6D88;&#x606F;&#xFF0C;&#x63A5;&#x53D7;&#x6D88;&#x606F;/&#x4E8B;&#x4EF6;&#x56DE;&#x8C03;;</li>
<li>sdk&#x7528;&#x6237;&#x767B;&#x5F55;&#x65F6;&#x4F1A;&#x8BDD;&#x5217;&#x8868;&#xFF0C;&#x597D;&#x53CB;&#x5217;&#x8868;&#xFF0C;&#x9ED1;&#x767D;&#x540D;&#x5355;&#xFF0C;&#x7FA4;&#x7EC4;&#x56DE;&#x8C03;; </li>
<li>&#x6587;&#x672C;/&#x56FE;&#x7247;/&#x6587;&#x4EF6;&#x7B49;&#x5E38;&#x89C1;&#x6D88;&#x606F;&#x7C7B;&#x578B;&#x53CA;&#x81EA;&#x5B9A;&#x4E49;&#x6D88;&#x606F;&#x7C7B;&#x578B;</li>
<li>&#x6DFB;&#x52A0;&#x7528;&#x6237;/&#x66F4;&#x65B0;&#x7528;&#x6237;/&#x7528;&#x6237;&#x5217;&#x8868;/&#x7528;&#x6237;&#x4FE1;&#x606F;/&#x66F4;&#x65B0;&#x7528;&#x6237;Token/&#x5237;&#x65B0;&#x7528;&#x6237;Token</li>
<li>&#x7528;&#x6237;&#x5386;&#x53F2;&#x6D88;&#x606F;/&#x7528;&#x6237;&#x5386;&#x53F2;&#x4F1A;&#x8BDD;</li>
<li>&#x6DFB;&#x52A0;&#x670B;&#x53CB;/&#x5220;&#x9664;&#x670B;&#x53CB;/&#x670B;&#x53CB;&#x5217;&#x8868;/&#x83B7;&#x53D6;&#x597D;&#x53CB;/&#x4FEE;&#x6539;&#x9ED1;&#x767D;&#x540D;&#x5355;/&#x83B7;&#x53D6;&#x9ED1;&#x767D;&#x540D;&#x5355;/&#x4FEE;&#x590D;&#x597D;&#x53CB;&#x522B;&#x540D;</li>
<li>&#x6DFB;&#x52A0;&#x7FA4;/&#x66F4;&#x65B0;&#x7FA4;/&#x83B7;&#x53D6;&#x7FA4;&#x5217;&#x8868;/&#x83B7;&#x53D6;&#x52A0;&#x5165;&#x7684;&#x7FA4;/&#x5220;&#x9664;&#x7FA4;/&#x83B7;&#x53D6;&#x7FA4;&#x4FE1;&#x606F;</li>
<li>&#x83B7;&#x53D6;&#x7FA4;&#x6210;&#x5458;/&#x6DFB;&#x52A0;&#x7FA4;/&#x5220;&#x9664;&#x7FA4;&#x6210;&#x5458;</li>
<li>&#x4E0A;&#x4F20;&#x901A;&#x7528;&#x6587;&#x4EF6;&#xFF0C; &#x8FD4;&#x56DE;&#x4E0B;&#x8F7D;url &#x7684;&#x529F;&#x80FD;</li>
</ul>
<p>&#x9AD8;&#x7EA7;&#x529F;&#x80FD;(&#x4E13;&#x4E1A;&#x7248;, &#x4EC5;&#x5728;echatim-client-ts-core v1.10&#x652F;&#x6301;): </p>
<ul>
<li>&#x8BBE;&#x7F6E;&#x7528;&#x6237;&#x7684;&#x5728;&#x7EBF;/&#x79BB;&#x7EBF;&#x76D1;&#x542C;&#xFF0C;&#x83B7;&#x53D6;&#x7528;&#x6237;&#x7684;&#x5728;&#x7EBF;&#x72B6;&#x6001;;</li>
<li>&#x83B7;&#x53D6;socket.io &#x5B9E;&#x4F8B;, httpApi &#x8C03;&#x7528;&#x62D3;&#x5C55;, socketioApi &#x8C03;&#x7528;&#x62D3;&#x5C55;;</li>
<li>&#x7528;&#x6237;&#x767B;&#x5F55;&#x51ED;&#x8BC1;jwt&#x7BA1;&#x7406;;</li>
<li>&#x5BA2;&#x670D;&#x7CFB;&#x7EDF;&#x6E38;&#x5BA2;&#x7BA1;&#x7406;;</li>
</ul>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../1.5.1 软件特性/" class="navigation navigation-prev " aria-label="Previous page: 1.5.1 软件特性">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../1.5.3 用户/" class="navigation navigation-next " aria-label="Next page: 1.5.3 用户">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"1.5.2 客户端核心SDK功能","level":"1.6.2","depth":2,"next":{"title":"1.5.3 用户","level":"1.6.3","depth":2,"path":"1.5 基础知识/1.5.3 用户/README.md","ref":"1.5 基础知识/1.5.3 用户/README.md","articles":[]},"previous":{"title":"1.5.1 软件特性","level":"1.6.1","depth":2,"path":"1.5 基础知识/1.5.1 软件特性/README.md","ref":"1.5 基础知识/1.5.1 软件特性/README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"1.5 基础知识/1.5.2 客户端核心SDK功能/README.md","mtime":"2021-08-04T03:46:07.635Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-11-19T07:54:02.646Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

